package com.ktgj.customer.mapper;

import java.util.List;
import com.ktgj.customer.domain.ClaimDelayinsurance;
import com.ktgj.customer.domain.vo.ClaimDelayinsuranceVo;

/**
 * 保险理赔合并
Mapper接口
 * 
 * @author ruoyi
 * @date 2022-06-17
 */
public interface ClaimDelayinsuranceMapper 
{
    /**
     * 查询保险理赔合并

     * 
     * @param delayinsuranceId 保险理赔合并
ID
     * @return 保险理赔合并

     */
    public ClaimDelayinsurance selectClaimDelayinsuranceById(Long delayinsuranceId);

    /**
     * 查询保险理赔合并
列表
     * 
     * @param claimDelayinsurance 保险理赔合并

     * @return 保险理赔合并
集合
     */
    public List<ClaimDelayinsurance> selectClaimDelayinsuranceList(ClaimDelayinsurance claimDelayinsurance);

    /**
     * 新增保险理赔合并

     * 
     * @param claimDelayinsurance 保险理赔合并

     * @return 结果
     */
    public int insertClaimDelayinsurance(ClaimDelayinsurance claimDelayinsurance);

    /**
     * 修改保险理赔合并

     * 
     * @param claimDelayinsurance 保险理赔合并

     * @return 结果
     */
    public int updateClaimDelayinsurance(ClaimDelayinsurance claimDelayinsurance);

    /**
     * 删除保险理赔合并

     * 
     * @param delayinsuranceId 保险理赔合并
ID
     * @return 结果
     */
    public int deleteClaimDelayinsuranceById(Long delayinsuranceId);

    /**
     * 批量删除保险理赔合并

     * 
     * @param delayinsuranceIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteClaimDelayinsuranceByIds(Long[] delayinsuranceIds);

    /**
     * 查询保险理赔
     * */
    public List<ClaimDelayinsurance> claimDelayinsuranceList(ClaimDelayinsuranceVo claimDelayinsuranceVo);

    /**
     * 查询待修改的保险理赔信息
     * */
    public ClaimDelayinsurance selClaimDelayinsurance(Long id);

    /**
     * 获取最近一条数据
     * */
    public ClaimDelayinsurance claimDelayinsuranceMax(Long customerId);

    /**
     * 延误险保障查询全部
     * */
    public List<ClaimDelayinsurance> claimDelayinsuranceMaxList(Long customerId);
}
